package com.tl.sun.model.base;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;

/**
 * Created by librabin on 17/2/6.
 */

public class BaseEntity<T> implements Serializable {


    private int ret;
    private String code;

    private String msg;
    @SerializedName("ret_data")
    private T data;

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public int getRet() {
        return ret;
    }

    public void setRet(int ret) {
        this.ret = ret;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }


}
